The additional function UnlockDialog.addCharacter() is only used at one
place, so we can simply remove it and call AuthPrompt.addCharacter()
directly. The AuthPrompt is shown right before that anyway.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1209
this._showPrompt();
if (GLib.unichar_isgraph(unichar))
- this.addCharacter(unichar);
+ this._authPrompt.addCharacter(unichar);
return Clutter.EVENT_PROPAGATE;
}
this._authPrompt.cancel();
}
- addCharacter(unichar) {
- this._showPrompt();
- this._authPrompt.addCharacter(unichar);
- }
-
finish(onComplete) {
this._ensureAuthPrompt();
this._authPrompt.finish(onComplete);